import request from '@/util/request'

export function listWorkOrderType(data) {
  return request({
    url: '/erp/work/order/type/list',
    method: 'post',
    data
  })
}

export function insertWorkOrderType(data) {
  return request({
    url: '/erp/work/order/type/insert',
    method: 'post',
    data
  })
}

export function deleteWorkOrderType(data) {
  return request({
    url: '/erp/work/order/type/delete',
    method: 'post',
    data
  })
}

export function updateWorkOrderType(data) {
  return request({
    url: '/erp/work/order/type/update',
    method: 'post',
    data
  })
}

